<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        // 1.字符串长度 length
        var str = 'my name is sgf';
        console.log(str.length);
        // 2.字符串的拼接 +
        // 数值相加，字符相连
        console.log('沙漠' + '骆驼');
        console.log('pink老师' + 18);
    </script>
</head>

<body>

</body>

</html>